import { sveltekit } from '@sveltejs/kit/vite';
import Unocss from 'unocss/vite'

/** @type {import('vite').UserConfig} */
const config = {
	plugins: [
		// https://github.com/antfu/unocss
		// see unocss.config.ts for config
		Unocss(),
		sveltekit(),
	],
	// https://github.com/vitest-dev/vitest
	test: {
		environment: 'jsdom',
	},
};

export default config;